gtk4.git
5 years agoMerge branch 'ci-tweaks' into 'master'
Matthias Clasen [Fri, 10 Jul 2020 16:13:48 +0000 (16:13 +0000)]
Merge branch 'ci-tweaks' into 'master'

ci: Use lsan again

See merge request GNOME/gtk!2224

5 years agoci: Use lsan again
Matthias Clasen [Fri, 10 Jul 2020 15:11:42 +0000 (11:11 -0400)]
ci: Use lsan again

Turning it off didn't fix the crashes; and we allow
the asan build to fail anyway now. And the leak reports
are useful whenever it doesn't crash.

5 years agoMerge branch 'asan-ci' into 'master'
Matthias Clasen [Fri, 10 Jul 2020 13:04:34 +0000 (13:04 +0000)]
Merge branch 'asan-ci' into 'master'

Asan ci

See merge request GNOME/gtk!2214

5 years agoDisable lsan for now
Matthias Clasen [Fri, 10 Jul 2020 11:32:48 +0000 (07:32 -0400)]
Disable lsan for now

The leak sanitizer causes on average 3-4 tests
to segfault during a testsuite run. Disable it
for now to see if we can get a successful
testsuite run with asan alone.

5 years agoMerge branch 'wip/Jehan/gio-querymodules-pkg-config-master' into 'master'
Matthias Clasen [Thu, 9 Jul 2020 23:53:25 +0000 (23:53 +0000)]
Merge branch 'wip/Jehan/gio-querymodules-pkg-config-master' into 'master'

build-aux: search various Glib/GIO utilities in .pc file.

See merge request GNOME/gtk!2129

5 years agoci: Add a build with asan
Matthias Clasen [Thu, 9 Jul 2020 02:22:31 +0000 (22:22 -0400)]
ci: Add a build with asan

Run our testsuite under asan. We do this in a
separate build, since we need to turn off
introspection to make the build succeed.

As Michael Catanzaro pointed out, this requires a
privileged runner in order to use kernel apis.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 9 Jul 2020 23:06:37 +0000 (23:06 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

x11: Plug a memory leak

See merge request GNOME/gtk!2222

5 years agox11: Plug a memory leak
Matthias Clasen [Thu, 9 Jul 2020 17:52:53 +0000 (13:52 -0400)]
x11: Plug a memory leak

Don't leak atoms when we're storing the clipboard.

5 years agoMerge branch 'wip/otte/for-master' into 'master'
Benjamin Otte [Thu, 9 Jul 2020 21:34:02 +0000 (21:34 +0000)]
Merge branch 'wip/otte/for-master' into 'master'

Wip/otte/for master

See merge request GNOME/gtk!2221

5 years agosorter: Remove a return_if_fail()
Benjamin Otte [Tue, 7 Jul 2020 17:02:29 +0000 (19:02 +0200)]
sorter: Remove a return_if_fail()

It's too expsensive.

5 years agotestsuite: Be more exhaustive
Benjamin Otte [Thu, 9 Jul 2020 20:26:57 +0000 (22:26 +0200)]
testsuite: Be more exhaustive

Create larger source models in tests, so that we hit the incremental
batch size more often and have a higher chance to expose bugs there.

5 years agofilterlistmodel: Don't filter out every 513th element
Benjamin Otte [Thu, 9 Jul 2020 20:22:04 +0000 (22:22 +0200)]
filterlistmodel: Don't filter out every 513th element

Incremental filtering would skip every 513th element due to an
off-by-one error.

Test included

5 years agoIgnore more leaks in asan
Matthias Clasen [Thu, 9 Jul 2020 17:55:02 +0000 (13:55 -0400)]
Ignore more leaks in asan

These showed up in ci. The atk-bridge will
be gone before too long anyway. Since we
may not have debug symbols in ci, just at
the so's.

5 years agoMerge branch 'wip/carlosg/range-autoscroll' into 'master'
Matthias Clasen [Thu, 9 Jul 2020 20:05:07 +0000 (20:05 +0000)]
Merge branch 'wip/carlosg/range-autoscroll' into 'master'

gtkrange: group gestures the right way around

See merge request GNOME/gtk!2220

5 years agoci: Set LSAN_OPTIONS for tests
Matthias Clasen [Thu, 9 Jul 2020 02:19:32 +0000 (22:19 -0400)]
ci: Set LSAN_OPTIONS for tests

When running the testsuite with the address sanitizer,
many of our dependencies cause it to report cause it
to report memory leaks, causing tests to fail.
Therefore, point the leak sanitizer at a list of
suppressions. The list is kept in the lsan.supp
file in git.

5 years agoci: Use the fedora:v20 image
Matthias Clasen [Thu, 9 Jul 2020 02:18:45 +0000 (22:18 -0400)]
ci: Use the fedora:v20 image

This image includes libasan and libubsan.

5 years agoci: Mention image layering in the README
Matthias Clasen [Thu, 9 Jul 2020 17:11:26 +0000 (13:11 -0400)]
ci: Mention image layering in the README

5 years agoci: Add libasan and libubsan to the image
Matthias Clasen [Thu, 9 Jul 2020 02:17:26 +0000 (22:17 -0400)]
ci: Add libasan and libubsan to the image

Add libasan and libubsan to fedora-base:v20,
and build fedora:20 on top of it.

This is so we can build and run the tests with
the address and undefined behavior sanitizers.

5 years agogtkrange: group gestures the right way around
Carlos Garnacho [Thu, 9 Jul 2020 18:44:42 +0000 (20:44 +0200)]
gtkrange: group gestures the right way around

The gtk_gesture_group() call is not a commutative operation, it
takes two gestures, maybe detaches the first one from its current
group, and adds it to the same group than the second gesture.

With the flipped argument order here, GtkRange was actually detaching
the same gesture in order to group it with a second one two times, so
the desired effect to group all 3 gestures was not achieved.

Fixes autoscroll as the drag gesture is now actually grouped with the
click one, so drag offsets can be accessed from the autoscroll
timeout.

5 years agox11: Plug a memory leak
Matthias Clasen [Thu, 9 Jul 2020 17:52:53 +0000 (13:52 -0400)]
x11: Plug a memory leak

Don't leak atoms when we're storing the clipboard.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 9 Jul 2020 17:19:57 +0000 (17:19 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

css: Plug a memory leak

Closes #2921

See merge request GNOME/gtk!2219

5 years agocss: Plug a memory leak
Matthias Clasen [Thu, 9 Jul 2020 16:14:18 +0000 (12:14 -0400)]
css: Plug a memory leak

When a rule has no styles, we don't add it
to our ruleset. Since we are not adopting
the selectors in this case, we must free them.

Fixes: #2921
5 years agoMerge branch 'wip/carlosg/scrollbar-fixes' into 'master'
Matthias Clasen [Thu, 9 Jul 2020 15:56:13 +0000 (15:56 +0000)]
Merge branch 'wip/carlosg/scrollbar-fixes' into 'master'

Scrollbar fixes

Closes #2879

See merge request GNOME/gtk!2216

5 years agogdk/x11: Ignore regular crossing events while in implicit grabs
Carlos Garnacho [Thu, 9 Jul 2020 14:53:47 +0000 (16:53 +0200)]
gdk/x11: Ignore regular crossing events while in implicit grabs

If we create an implicit grab on a surface, leave the surface, and
release the button, we would get 2 XI_Leave events, one with mode
XINotifyNormal when the pointer leaves the surface, and another with
mode XINotifyUngrab when the button is released.

Meanwhile, the upper layers rely on crossing events being paired,
and particularly in no crossing event being sent until the implicit
grab is dismissed (either by releasing it, or via more pervasive
grabs).

Ignoring the set of XINotifyNormal events while an implicit grab
is active adapts the X11 backend to this behavior. If the grab were
released or taken away by another grab, a crossing event with one
of the other XINotify*Grab/XINotify*Ungrab will be generated.

Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/2879
5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 9 Jul 2020 14:49:42 +0000 (14:49 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!2212

5 years agoMerge branch 'ebassi/subprojects-depth' into 'master'
Matthias Clasen [Thu, 9 Jul 2020 14:39:01 +0000 (14:39 +0000)]
Merge branch 'ebassi/subprojects-depth' into 'master'

Use depth=1 for cloning sub-projects

See merge request GNOME/gtk!2215

5 years agoMerge branch 'file-chooser-api-cleanup-2' into 'master'
Matthias Clasen [Thu, 9 Jul 2020 14:31:14 +0000 (14:31 +0000)]
Merge branch 'file-chooser-api-cleanup-2' into 'master'

File chooser api cleanup 2

See merge request GNOME/gtk!2213

5 years agogtkscrolledwindow: Look up correctly target in captured motion events
Carlos Garnacho [Thu, 9 Jul 2020 14:10:55 +0000 (16:10 +0200)]
gtkscrolledwindow: Look up correctly target in captured motion events

Check correctly that the captured motion events are emitted towards the
content or one of the scrollbars, in order to have it set the expected
"over" state depending on whether the drag begins from the scrolledwindow
content or one of the scrollbars.

Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/2879
5 years agoNEWS: Updates
Matthias Clasen [Thu, 9 Jul 2020 12:20:39 +0000 (08:20 -0400)]
NEWS: Updates

5 years agoAdd a suppression file for asan
Matthias Clasen [Thu, 9 Jul 2020 04:33:35 +0000 (00:33 -0400)]
Add a suppression file for asan

This can be used similar to valgrind suppressions:

LSAN_OPTIONS=suppressions=`pwd`/lsan.supp meson  tests -Cbuild

5 years agotests: Plug some more memory leaks
Matthias Clasen [Thu, 9 Jul 2020 04:32:49 +0000 (00:32 -0400)]
tests: Plug some more memory leaks

These showed up under asan.

5 years agocups: Plug a memory leak
Matthias Clasen [Thu, 9 Jul 2020 04:31:06 +0000 (00:31 -0400)]
cups: Plug a memory leak

This showed up under asan.

5 years agoMerge branch 'wayland_surface_app_id_changing' into 'master'
Matthias Clasen [Thu, 9 Jul 2020 13:28:07 +0000 (13:28 +0000)]
Merge branch 'wayland_surface_app_id_changing' into 'master'

add a way to change the application_id of a toplevel wayland GdkSurface

See merge request GNOME/gtk!2205

5 years agoUse depth=1 for cloning sub-projects
Emmanuele Bassi [Thu, 9 Jul 2020 13:07:14 +0000 (14:07 +0100)]
Use depth=1 for cloning sub-projects

We don't really need the full history and branches when building
sub-projects.

This should shave some bandwidth and time in our CI pipeline as well.

5 years agoMerge branch 'fix-levelbar-layout' into 'master'
Matthias Clasen [Thu, 9 Jul 2020 11:42:33 +0000 (11:42 +0000)]
Merge branch 'fix-levelbar-layout' into 'master'

levelbar: Chainup to parent buildable when handling custom tags

See merge request GNOME/gtk!2200

5 years agofilechooser: Drop the ::selection-changed signal
Matthias Clasen [Thu, 9 Jul 2020 06:06:31 +0000 (02:06 -0400)]
filechooser: Drop the ::selection-changed signal

This signal does not work on native file choosers,
and it exposes internals of the widget that should
not be public. And it is just not very interesting.

5 years agofilechooser: Drop the ::current-folder-changed signal
Matthias Clasen [Thu, 9 Jul 2020 05:48:33 +0000 (01:48 -0400)]
filechooser: Drop the ::current-folder-changed signal

This signal does not work on native file choosers,
and it exposes internals of the widget that should
not be public. And it is just not very interesting.

5 years agofilechoosernative: Update docs
Matthias Clasen [Thu, 9 Jul 2020 05:44:09 +0000 (01:44 -0400)]
filechoosernative: Update docs

Remove mention of things that are no longer
in the filechooser api.

5 years agofilechooser: Drop the ::file-activated signal
Matthias Clasen [Thu, 9 Jul 2020 05:40:08 +0000 (01:40 -0400)]
filechooser: Drop the ::file-activated signal

This signal does not work on native file choosers,
and it exposes internals of the widget that should
not be public. And it is just not very interesting.

5 years agofilechooser: Make get_files return a list model
Matthias Clasen [Thu, 9 Jul 2020 05:29:20 +0000 (01:29 -0400)]
filechooser: Make get_files return a list model

Like the other list getters in this interface,
make gtk_file_chooser_get_files() return a
list model.

5 years agoCosmetics
Matthias Clasen [Thu, 9 Jul 2020 04:51:11 +0000 (00:51 -0400)]
Cosmetics

5 years agofilechooser: Drop gtk_file_chooser_[un]select_file
Matthias Clasen [Thu, 9 Jul 2020 04:46:55 +0000 (00:46 -0400)]
filechooser: Drop gtk_file_chooser_[un]select_file

Most use cases for these apis can be handled with
gtk_file_chooser_set_file and/or
gtk_file_chooser_set_current_folder.

5 years agofilechooser: Drop gtk_file_chooser_[un]_select_all
Matthias Clasen [Wed, 8 Jul 2020 14:12:51 +0000 (10:12 -0400)]
filechooser: Drop gtk_file_chooser_[un]_select_all

For now, we just remove them as public api, they are
still used internally.

5 years agotests: Stop using file chooser apis that are going away
Matthias Clasen [Wed, 8 Jul 2020 14:12:09 +0000 (10:12 -0400)]
tests: Stop using file chooser apis that are going away

gtk_file_chooser_[un]select_all are going away, stop
using them.

5 years agodocs: Add gtk_file_chooser_get_shortcut_folders
Matthias Clasen [Thu, 9 Jul 2020 04:49:19 +0000 (00:49 -0400)]
docs: Add gtk_file_chooser_get_shortcut_folders

5 years agoMerge branch 'printing-portal-fix-master' into 'master'
Matthias Clasen [Thu, 9 Jul 2020 04:40:34 +0000 (04:40 +0000)]
Merge branch 'printing-portal-fix-master' into 'master'

Remember to call print_cb even if print operation is cancelled.

Closes #2917

See merge request GNOME/gtk!2211

5 years agoAdd a suppression file for asan
Matthias Clasen [Thu, 9 Jul 2020 04:33:35 +0000 (00:33 -0400)]
Add a suppression file for asan

This can be used similar to valgrind suppressions:

LSAN_OPTIONS=suppressions=`pwd`/lsan.supp meson  tests -Cbuild

5 years agotests: Plug some more memory leaks
Matthias Clasen [Thu, 9 Jul 2020 04:32:49 +0000 (00:32 -0400)]
tests: Plug some more memory leaks

These showed up under asan.

5 years agocups: Plug a memory leak
Matthias Clasen [Thu, 9 Jul 2020 04:31:06 +0000 (00:31 -0400)]
cups: Plug a memory leak

This showed up under asan.

5 years agoRemember to call print_cb even if print operation is cancelled.
Casey Jao [Thu, 9 Jul 2020 03:31:49 +0000 (23:31 -0400)]
Remember to call print_cb even if print operation is cancelled.

Closes #2917.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 9 Jul 2020 02:08:53 +0000 (02:08 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

directorylist: Fix file monitoring implementation

See merge request GNOME/gtk!2209

5 years agotestsuite: Assorted leak fixes
Matthias Clasen [Wed, 8 Jul 2020 21:43:14 +0000 (17:43 -0400)]
testsuite: Assorted leak fixes

All found by asan.

5 years agoshortcuttrigger: Fix some leaks in error paths
Matthias Clasen [Wed, 8 Jul 2020 21:42:29 +0000 (17:42 -0400)]
shortcuttrigger: Fix some leaks in error paths

Found while running the testsuite under asan.

5 years agocss: Fix some memory leaks in error paths
Matthias Clasen [Wed, 8 Jul 2020 21:41:54 +0000 (17:41 -0400)]
css: Fix some memory leaks in error paths

Found while running the testsuite under asan.

5 years agopicture: Don't leak alternative-test
Matthias Clasen [Wed, 8 Jul 2020 20:42:35 +0000 (16:42 -0400)]
picture: Don't leak alternative-test

This leak showed up while running the testsuite
under asan.

5 years agobookmarklist: Don't leak uris
Matthias Clasen [Wed, 8 Jul 2020 20:42:01 +0000 (16:42 -0400)]
bookmarklist: Don't leak uris

This leak showed up in multiple places while
running the testsuite under asan.

5 years agotestsuite: Fix a memory leak in the bitmask tests
Matthias Clasen [Wed, 8 Jul 2020 20:34:58 +0000 (16:34 -0400)]
testsuite: Fix a memory leak in the bitmask tests

This was showing up when running under asan.

5 years agogsk: Fix a transform leak
Matthias Clasen [Wed, 8 Jul 2020 20:29:32 +0000 (16:29 -0400)]
gsk: Fix a transform leak

This was found by running our testsuite under asan.

5 years agotestsuite: Fix some memory leaks reported by asan
Matthias Clasen [Wed, 8 Jul 2020 19:05:16 +0000 (15:05 -0400)]
testsuite: Fix some memory leaks reported by asan

5 years agotestsuite: Fix an asan error
Matthias Clasen [Wed, 8 Jul 2020 19:04:12 +0000 (15:04 -0400)]
testsuite: Fix an asan error

asan complains that some of the memorytexture tests
read past limits. Avoid that.

5 years agodirectorylist: Fix file monitoring implementation
Matthias Clasen [Wed, 8 Jul 2020 17:41:01 +0000 (13:41 -0400)]
directorylist: Fix file monitoring implementation

The while loops were never advancing the iterator.
Oops.

5 years agoUpdate Ukrainian translation
Yuri Chornoivan [Wed, 8 Jul 2020 18:28:01 +0000 (18:28 +0000)]
Update Ukrainian translation

5 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Wed, 8 Jul 2020 17:44:28 +0000 (17:44 +0000)]
Update Kazakh translation

5 years agoUpdate Romanian translation
Daniel Șerbănescu [Wed, 8 Jul 2020 16:22:30 +0000 (16:22 +0000)]
Update Romanian translation

5 years agoUpdate Romanian translation
Florentina Mușat [Wed, 8 Jul 2020 16:17:12 +0000 (16:17 +0000)]
Update Romanian translation

5 years agoUpdate Romanian translation
Florentina Mușat [Wed, 8 Jul 2020 08:33:20 +0000 (08:33 +0000)]
Update Romanian translation

5 years agoMerge branch 'directorylist-monitor' into 'master'
Matthias Clasen [Wed, 8 Jul 2020 02:25:46 +0000 (02:25 +0000)]
Merge branch 'directorylist-monitor' into 'master'

directorylist: Add monitoring

See merge request GNOME/gtk!2207

5 years agodirectorylist: Add monitoring
Matthias Clasen [Tue, 7 Jul 2020 22:44:41 +0000 (18:44 -0400)]
directorylist: Add monitoring

Add a GtkDirectoryList:monitored property, and
keep a file monitor if it is set to TRUE. To ensure
that the list reflects reality, we reload the directory
when monitoring is turned on after the fact. This means
that turning monitoring is expensive, while turning it
off is cheap, so we default to monitoring being on.

5 years agoFixes to Catalan translations
Jordi Mas [Tue, 7 Jul 2020 18:24:24 +0000 (20:24 +0200)]
Fixes to Catalan translations

5 years agoUpdate Ukrainian translation
Yuri Chornoivan [Tue, 7 Jul 2020 18:03:32 +0000 (18:03 +0000)]
Update Ukrainian translation

5 years agoUpdate Ukrainian translation
Yuri Chornoivan [Tue, 7 Jul 2020 17:55:52 +0000 (17:55 +0000)]
Update Ukrainian translation

5 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Tue, 7 Jul 2020 17:21:22 +0000 (17:21 +0000)]
Update Kazakh translation

5 years agoMerge branch 'inspector-navigation' into 'master'
Matthias Clasen [Tue, 7 Jul 2020 17:04:51 +0000 (17:04 +0000)]
Merge branch 'inspector-navigation' into 'master'

Inspector navigation

See merge request GNOME/gtk!2201

5 years agoinspector: Fix property list styling
Matthias Clasen [Tue, 7 Jul 2020 06:12:30 +0000 (02:12 -0400)]
inspector: Fix property list styling

We use dropdowns here now, so style them.

Also, avoid the swoosh when switching to the
property list, when everything shrinks.

5 years agogtk#767 add a way to change the application_id of a toplevel wayland GdkSurface
Caolán McNamara [Tue, 7 Jul 2020 14:45:30 +0000 (15:45 +0100)]
gtk#767 add a way to change the application_id of a toplevel wayland GdkSurface

so LibreOffice can reuse toplevels and get the right task icons

references;
 https://gitlab.gnome.org/GNOME/gtk/-/issues/767
 https://lists.freedesktop.org/archives/wayland-devel/2019-July/040704.html
 https://gitlab.freedesktop.org/wayland/wayland-protocols/commit/e0d6ad1d5e7e80321285a9b14ca3329289eb02e6
 https://bugs.documentfoundation.org/show_bug.cgi?id=125934
 https://bugzilla.redhat.com/show_bug.cgi?id=1334915
 https://bugreports.qt.io/browse/QTBUG-77182

5 years agoMerge branch 'issue-2915' into 'master'
Emmanuele Bassi [Tue, 7 Jul 2020 11:48:07 +0000 (11:48 +0000)]
Merge branch 'issue-2915' into 'master'

Issue 2915

Closes #2915

See merge request GNOME/gtk!2204

5 years agoAnnotate string array
Emmanuele Bassi [Tue, 7 Jul 2020 11:04:13 +0000 (12:04 +0100)]
Annotate string array

Fixes: #2915
5 years agoFix "not nullable" annotation
Emmanuele Bassi [Tue, 7 Jul 2020 11:03:44 +0000 (12:03 +0100)]
Fix "not nullable" annotation

5 years agolevelbar: Chainup to parent buildable when handling custom tags
Stefano Facchini [Mon, 6 Jul 2020 19:23:43 +0000 (21:23 +0200)]
levelbar: Chainup to parent buildable when handling custom tags

This is necessary to handle <layout> tags.

5 years agoinspector: Reshuffle the sidebar
Matthias Clasen [Tue, 7 Jul 2020 06:05:18 +0000 (02:05 -0400)]
inspector: Reshuffle the sidebar

Move the sidebar in the object page below the
object header, for a more logical hierarchy.

5 years agoinspector: Drop unused properties
Matthias Clasen [Tue, 7 Jul 2020 04:53:55 +0000 (00:53 -0400)]
inspector: Drop unused properties

The individual pages no longer need the object tree
to show object details, this works with the window
now.

5 years agoMerge branch 'patch-1' into 'master'
Matthias Clasen [Tue, 7 Jul 2020 05:08:19 +0000 (05:08 +0000)]
Merge branch 'patch-1' into 'master'

Fix typo: Filer -> Filter

See merge request GNOME/gtk!2203

5 years agoinspector: Add dom-like navigation controls
Matthias Clasen [Mon, 6 Jul 2020 20:53:54 +0000 (16:53 -0400)]
inspector: Add dom-like navigation controls

Maintain a stack of objects, and add ˂˅˄˃ buttons
that navigate this stack, as well as the widget
tree and list models.

5 years agoinspector: Remove an unused field
Matthias Clasen [Mon, 6 Jul 2020 16:01:08 +0000 (12:01 -0400)]
inspector: Remove an unused field

5 years agostack: Fix handling of GtkStackPage:visible
Matthias Clasen [Tue, 7 Jul 2020 03:05:37 +0000 (23:05 -0400)]
stack: Fix handling of GtkStackPage:visible

The stack wasn't updating its visible-child when
the stack pages visible property changes. This
showed up in the inspector, when showing the details
for a list model item.

5 years agoUpdate Ukrainian translation
Yuri Chornoivan [Tue, 7 Jul 2020 04:45:03 +0000 (04:45 +0000)]
Update Ukrainian translation

5 years agoFix typo: Filer -> Filter
Yuri Chornoivan [Tue, 7 Jul 2020 04:41:44 +0000 (04:41 +0000)]
Fix typo: Filer -> Filter

5 years agoUpdate Romanian translation
Daniel Șerbănescu [Mon, 6 Jul 2020 20:41:16 +0000 (20:41 +0000)]
Update Romanian translation

5 years agoUpdate Romanian translation
Daniel Șerbănescu [Mon, 6 Jul 2020 20:38:44 +0000 (20:38 +0000)]
Update Romanian translation

5 years agoUpdate Catalan translation
Jordi Mas [Mon, 6 Jul 2020 20:35:10 +0000 (22:35 +0200)]
Update Catalan translation

5 years agoMerge branch 'wip/otte/filterlistmodel' into 'master'
Matthias Clasen [Mon, 6 Jul 2020 15:42:44 +0000 (15:42 +0000)]
Merge branch 'wip/otte/filterlistmodel' into 'master'

Improve GtkFilterListModel

See merge request GNOME/gtk!2199

5 years agoMerge branch 'file-chooser-api-cleanups' into 'master'
Matthias Clasen [Mon, 6 Jul 2020 15:41:56 +0000 (15:41 +0000)]
Merge branch 'file-chooser-api-cleanups' into 'master'

File chooser api cleanups

See merge request GNOME/gtk!2195

5 years agofilechooser: Add a readonly :shortcut-folders property
Matthias Clasen [Mon, 6 Jul 2020 15:03:02 +0000 (11:03 -0400)]
filechooser: Add a readonly :shortcut-folders property

This makes the shortcut folders list accessible in the
the inspector.

5 years agofilechooser: Add gtk_file_chooser_get_shortcuts
Matthias Clasen [Sun, 5 Jul 2020 02:08:33 +0000 (22:08 -0400)]
filechooser: Add gtk_file_chooser_get_shortcuts

Replace gtk_file_chooser_list_shortcuts with a new
api that returns a list model.

Update all callers.

5 years agofilechooser: Add a readonly :filters property
Matthias Clasen [Mon, 6 Jul 2020 14:34:33 +0000 (10:34 -0400)]
filechooser: Add a readonly :filters property

This makes the filters list accessible in the
the inspector.

5 years agofilechooser: Add gtk_file_chooser_get_filters
Matthias Clasen [Sat, 4 Jul 2020 16:15:47 +0000 (12:15 -0400)]
filechooser: Add gtk_file_chooser_get_filters

Replace gtk_file_chooser_list_filters with a new
api that returns a list model.

Update all callers.

5 years agoUpdate Catalan translation
Jordi Mas [Mon, 6 Jul 2020 07:41:45 +0000 (09:41 +0200)]
Update Catalan translation

5 years agoUpdate Catalan translation
Jordi Mas [Mon, 6 Jul 2020 06:54:41 +0000 (08:54 +0200)]
Update Catalan translation

5 years agotestsuite: Add more filterlistmodel tests
Benjamin Otte [Sun, 5 Jul 2020 17:25:15 +0000 (19:25 +0200)]
testsuite: Add more filterlistmodel tests

These ones try to be exhaustive and randomly catch weird cases.

As such, the tests are more complicated and harder to grasp.
Sorry.

5 years agobitset: Fix typo: gtk_bitset_slice() => gtk_bitset_splice()
Benjamin Otte [Mon, 6 Jul 2020 01:41:12 +0000 (03:41 +0200)]
bitset: Fix typo: gtk_bitset_slice() => gtk_bitset_splice()